package com.glink.manage.dto.barriergate;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * 对比记录上传-进出闸机
 * @Author : qiushaoshan
 * @create 2025/2/8 14:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecordUploadOnlineDTO implements Serializable {

    private static final long serialVersionUID = -5422292915325436252L;

    @ApiModelProperty(name = "dev_sno", notes = "设备号（设备MAC地址）")
    private String dev_sno;

    @ApiModelProperty(name = "token", notes = "token")
    private String token;

    @ApiModelProperty(name = "cmp_type", notes = "比对类型, 0:其它；1:人证比对； 2:人脸比对")
    private int cmp_type;

    @ApiModelProperty(name = "capture_img", notes = "现场抓拍照，需要base64编码")
    private String capture_img;

    @ApiModelProperty(name = "capture_time", notes = "对比时间，时间戳精确到毫秒。")
    private String capture_time;

    @ApiModelProperty(name = "capture_score", notes = "比对分值")
    private String capture_score;

    @ApiModelProperty(name = "capture_status", notes = "比对结果，0 比对失败， 1 比对通过")
    private int capture_status;

    @ApiModelProperty(name = "person_id", notes = "人员id")
    private int person_id;

    @ApiModelProperty(name = "person_name", notes = "姓名")
    private String person_name;

    @ApiModelProperty(name = "person_temperature", notes = "体温（摄氏度）")
    private float person_temperature;
    
    @ApiModelProperty(name = "person_type", notes = "人员类型")
    private String person_type;
    
    @ApiModelProperty(name = "id_card", notes = "身份证")
    private String id_card;

    @ApiModelProperty(name = "ic_card", notes = "IC卡号")
    private String ic_card;

    @ApiModelProperty(name = "qr", notes = "二维码")
    private String qr;

    @ApiModelProperty(name = "card_data", notes = "名单中的数据或读取的证件数据，身份证信息等")
    private RecordUploadOnlineCardDataDTO card_data;

    @ApiModelProperty(name = "healthCode", notes = "0 未开启，1绿码，2黄码，3红码")
    private int healthCode;

    @ApiModelProperty(name = "rna", notes = "核酸检测信息")
    private RecordUploadOnlineRnaDTO rna;
}
